package at.fhj.swd.pse.helper;

import javax.ejb.Stateless;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

import at.fhj.swd.pse.data.CommunityDAO;
import at.fhj.swd.pse.data.CommunityDAOImpl;

@Stateless
public class DAOFactoryImpl implements DAOFactory {		
	@Override
	public CommunityDAO CreateCommunityDAO(EntityManager em) {		
		return new CommunityDAOImpl(em);
	}
	
}
